package jp.co.redfox.archclub.poker.hand;

import jp.co.redfox.archclub.poker.Card;

public class GoalState implements HandJudgeState{

    @Override
    public HandJudgeState change(Card card) {
        return this;
    }

    private static final GoalState instance = new GoalState();
    public static HandJudgeState getInstance() {
        return instance;
    }
    public static boolean isGoal(State<?> state) {

        return state instanceof GoalState;
    }

}
